#ifndef NET_H_
#define NET_H_

typedef int (*SERVER_LISTEN_CALLBACK_FUNC)(char*, int size);

extern int  netctrl_connect();
extern int  netctrl_send(char* package, int size);
extern int  netctrl_listen(SERVER_LISTEN_CALLBACK_FUNC func);
extern void netctrl_close();

#endif
